This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
~James Asaremaroni 27.Jan.04 02:01 AM a Web browser Applications Development6.0.2 CF1All Platforms
That worked. But I am actually trying to retrieve fields from the current form and send out emails. The code is as follows:
Dim session As New NotesSession
Dim maildb As New NotesDatabase( "", "" )
Dim doc As NotesDocument
Dim maildoc As NotesDocument
Dim DocNum As Variant
Dim AM As Variant
Set doc = session.DocumentContext
DocNum = doc.GetItemValue("DocNum")
AM = doc.GetItemValue("AMgr_1")
Call maildb.Open( "Domino3/Interactive/West", "mail\internet.nsf" )
Set maildoc = New NotesDocument( maildb )
maildoc.Form = "Memo"
maildoc.Subject = "Test"
maildoc.Body = " This is an automated reminder for sdr."
maildoc.SendTo = "Priya S Srinivasan"
maildoc.CopyTo = "Rhonda M Petersen"
Call maildoc.Send(False)
I get the following error:
Agent 'Submit SDR' error: Notes error: You do not have a mail file/server specified. Use File Mobile Edit Current Location... to set them.